﻿namespace FFF.Test.Entity.FW.Dto
{
    using System;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using Abp.Application.Services.Dto;
    using Abp.AutoMapper;
    using FFF.Test.Entity.Framework.Dto;
    using FFF.Test.Entity.FW.View;       

	/// <summary>
    /// 企业表展示时候的dto
    /// </summary>
	[AutoMapFrom(typeof(FWCompanyEntity))] 
    public partial class FWCompanyDto :  BaseEntityDto<Guid>
    {
		/// <summary>
        /// 企业名称
        /// </summary>
		[Display(Name = "企业名称", Description = "企业名称")]
        [Column("CompanyName")]
		[StringLength(256)]
        public string CompanyName { get; set; }
        
		/// <summary>
        /// 企业介绍
        /// </summary>
		[Display(Name = "企业介绍", Description = "企业介绍")]
        [Column("CompanyDesc")]
		[StringLength(999999)]
        public string CompanyDesc { get; set; }
        
		/// <summary>
        /// 企业Logo(上传图片)
        /// </summary>
		[Display(Name = "企业Logo(上传图片)", Description = "企业Logo(上传图片)")]
        [Column("CompanyLogoUrl")]
		[StringLength(512)]
        public string CompanyLogoUrl { get; set; }
        
		/// <summary>
        /// 主账号用户的GUID
        /// </summary>
		[Display(Name = "主账号用户的GUID", Description = "主账号用户的GUID")]
        [Column("MainAccountUserGUID")]
        public Guid? MainAccountUserGUID { get; set; }
        
    }
    
    /// <summary>
    /// 企业表新增时候的dto
    /// </summary>
	[AutoMap(typeof(FWCompanyEntity))]
    [AutoMapFrom(typeof(ViewFWCompany))] 
    public partial class FWCompanyCreateInputDto : BaseEntityDto<Guid>
    {
		/// <summary>
        /// 企业名称
        /// </summary>
		[Display(Name = "企业名称", Description = "企业名称")]
        [Column("CompanyName")]
		[StringLength(256)]
        public string CompanyName { get; set; }
        
		/// <summary>
        /// 企业介绍
        /// </summary>
		[Display(Name = "企业介绍", Description = "企业介绍")]
        [Column("CompanyDesc")]
		[StringLength(999999)]
        public string CompanyDesc { get; set; }
        
		/// <summary>
        /// 企业Logo(上传图片)
        /// </summary>
		[Display(Name = "企业Logo(上传图片)", Description = "企业Logo(上传图片)")]
        [Column("CompanyLogoUrl")]
		[StringLength(512)]
        public string CompanyLogoUrl { get; set; }
        
		/// <summary>
        /// 主账号用户的GUID
        /// </summary>
		[Display(Name = "主账号用户的GUID", Description = "主账号用户的GUID")]
        [Column("MainAccountUserGUID")]
        public Guid? MainAccountUserGUID { get; set; }
        
    }
     
     /// <summary>
    /// 企业表更新时候Dto
    /// </summary>
	[AutoMap(typeof(FWCompanyEntity))]
    [AutoMapFrom(typeof(ViewFWCompany))] 
    public partial class FWCompanyUpdateInputDto : BaseEntityDto<Guid>
    {
		/// <summary>
        /// 企业名称
        /// </summary>
		[Display(Name = "企业名称", Description = "企业名称")]
        [Column("CompanyName")]
		[StringLength(256)]
        public string CompanyName { get; set; }
        
		/// <summary>
        /// 企业介绍
        /// </summary>
		[Display(Name = "企业介绍", Description = "企业介绍")]
        [Column("CompanyDesc")]
		[StringLength(999999)]
        public string CompanyDesc { get; set; }
        
		/// <summary>
        /// 企业Logo(上传图片)
        /// </summary>
		[Display(Name = "企业Logo(上传图片)", Description = "企业Logo(上传图片)")]
        [Column("CompanyLogoUrl")]
		[StringLength(512)]
        public string CompanyLogoUrl { get; set; }
        
		/// <summary>
        /// 主账号用户的GUID
        /// </summary>
		[Display(Name = "主账号用户的GUID", Description = "主账号用户的GUID")]
        [Column("MainAccountUserGUID")]
        public Guid? MainAccountUserGUID { get; set; }
        
    }
}
